import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as icons from '@element-plus/icons'

// 引入全局样式
import './styles/global.scss'

// console.log(import.meta.env)

const app = createApp(App)
Object.keys(icons).forEach((key) => {
  // 将图标注册成全局的
  app.component(key, icons[key])
})
app.use(ElementPlus, { size: 'small', zIndex: 3000 })
app.mount('#app')
